Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor/curp client retry #584

Merged
merged 5 commits into from
Jan 3, 2024

Conversation

iGxnon
Copy link
Contributor

@iGxnon iGxnon commented Dec 21, 2023

Based on #590

Please briefly answer these questions:

  • what problem are you trying to solve? (or if there's no problem, what's the motivation for this change?)

    Add retry layer for curp client

  • what changes does this pull request make?

    As above

  • are there any non-obvious implications of these changes? (does it break compatibility with previous versions, etc)

    No

Copy link

codecov bot commented Dec 21, 2023

Codecov Report

Attention: 714 lines in your changes are missing coverage. Please review.

Comparison is base (fa656ad) 64.40% compared to head (f62a6d3) 76.64%.
Report is 38 commits behind head on master.

Files Patch % Lines
curp/src/client_new/unary.rs 0.00% 398 Missing ⚠️
curp/src/client_new/retry.rs 0.00% 115 Missing ⚠️
curp/src/rpc/connect.rs 0.00% 76 Missing ⚠️
curp/src/client_new/mod.rs 0.00% 67 Missing ⚠️
xline/src/server/kv_server.rs 31.25% 22 Missing ⚠️
curp/src/rpc/mod.rs 84.48% 9 Missing ⚠️
xline-client/src/clients/kv.rs 78.57% 6 Missing ⚠️
xlineapi/src/command.rs 64.70% 6 Missing ⚠️
xline/src/server/command.rs 70.00% 3 Missing ⚠️
curp/src/client.rs 86.66% 2 Missing ⚠️
... and 8 more
Additional details and impacted files
@@             Coverage Diff             @@
##           master     #584       +/-   ##
===========================================
+ Coverage   64.40%   76.64%   +12.24%     
===========================================
  Files         105      157       +52     
  Lines       18802    21927     +3125     
  Branches    18802        0    -18802     
===========================================
+ Hits        12109    16806     +4697     
+ Misses       5955     5121      -834     
+ Partials      738        0      -738     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

curp/src/client_new/retry.rs Show resolved Hide resolved
curp/src/client_new/retry.rs Outdated Show resolved Hide resolved
@iGxnon iGxnon force-pushed the refactor/curp-client-1 branch 4 times, most recently from 9be5415 to f43bb5f Compare December 29, 2023 06:56
@Phoenix500526 Phoenix500526 added this to the v0.6.1 milestone Jan 2, 2024
curp/src/rpc/mod.rs Show resolved Hide resolved
curp/src/rpc/mod.rs Show resolved Hide resolved
iGxnon added 4 commits January 2, 2024 18:07
Signed-off-by: iGxnon <igxnon@gmail.com>
Signed-off-by: iGxnon <igxnon@gmail.com>
Signed-off-by: iGxnon <igxnon@gmail.com>
Signed-off-by: iGxnon <igxnon@gmail.com>
@iGxnon iGxnon force-pushed the refactor/curp-client-1 branch 2 times, most recently from 27d869e to 0bb0d0b Compare January 3, 2024 01:59
Signed-off-by: iGxnon <igxnon@gmail.com>
@iGxnon iGxnon force-pushed the refactor/curp-client-1 branch from 0bb0d0b to f62a6d3 Compare January 3, 2024 02:00
Copy link
Collaborator

@Phoenix500526 Phoenix500526 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@themanforfree themanforfree left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Phoenix500526 Phoenix500526 merged commit 7ede586 into xline-kv:master Jan 3, 2024
8 of 9 checks passed
@iGxnon iGxnon deleted the refactor/curp-client-1 branch January 3, 2024 04:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants